from django.shortcuts import render

# Create your views here.
from django.http import HttpResponse, HttpResponseRedirect, JsonResponse
from .models import JiaoShi


def index(request):
    cls = JiaoShi.objects.all().values()
    print(cls)
    return render(request, 'cls/index.html', {'cls': cls})
